package com.xxmw.transaction.model.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户搬砖表
 * @author luowenliang
 * @since 2020/5/18 11:52
 */
@Getter
@Setter
@TableName("user_brick")
@ToString
public class UserBrick implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 搬砖策略ID
     */
    private Integer brickId;

    /**
     * 策略名称
     */
    private String name;

    /**
     * 交易所ID，多个逗号隔开 1,2,3
     */
    private String bourseIds;

    /**
     * 交易对
     */
    private String symbol;

    private Integer status;
}
